<?php


$CONFIG['db_host'] = 'localhost';
$CONFIG['db_driver'] = 'mysql';
$CONFIG['db_user'] = 'root';
$CONFIG['db_pass'] = 'root';
$CONFIG['db_name'] = 'chonkm';

// ====================================================================== //
// CONFIG RECORD
// ====================================================================== //


$CONFIG['site_url']         	=  'http://' . $_SERVER['HTTP_HOST'];
$CONFIG['admin_url']       	=  'http://' . $_SERVER['HTTP_HOST'].'/admincp';

$CONFIG['site_dir']        		= SITE_BASE_DIR;
$CONFIG['admin_dir']       		= SITE_BASE_DIR."/admincp";
$CONFIG['upload_url']                   = $CONFIG['site_url']."/uploads";
$CONFIG['upload_dir']                   = $CONFIG['site_dir']."/uploads";
$CONFIG["error_message"] 		= "";
$CONFIG["success_message"] 		= "";
$CONFIG["sender_email"] ="gtc@gtcreal.vn";
$CONFIG["name_sender_email"] ="GTCReal.vn";
//META
$CONFIG['site_title']			= 'Welcome GTCReal';
$CONFIG['site_keyword']			= 'Bat dong san';
$CONFIG['site_desc']			= 'San bat dong san';

//Congif URL
$CONFIG_MODULE 	= array(
        "property"      =>"bds",
        "news"          =>"news",
        "tags"          =>"tags",
        "faq"           =>"faq",
        "search"        =>"search",
        "register"      =>"dangky",
        "success"       =>"thanhcong",
        "intro"         =>"intro",
        "projects"      =>"projects",
        "documents"     =>"documents",
        "video"         =>"video",
        "contact"       =>"lien-he",
        "member"        =>"thanh-vien"
    );


$CONFIG_OPTION 	= array(
        "cat"           =>"c",
        "geo"           =>"g",
        "tags"          =>"t",
        "archive"       =>"a",
        "detail"        =>"d"
);
$CONFIG_MEMBER_LINK 	= array(
        "login"                     =>"dang-nhap",
        "logout"                    =>"dang-xuat",
        "send-pass"                 =>"lay-lai-mat-khau",
        "change-pass-mail"          =>"doi-lai-mat-khau",
        "send-confirm"              =>"gui-lai-email-kich-hoat",
        "post-property"             =>"dang-tin",
        "post-property-step2"       =>"dang-tin-buoc-2",
        "post-property-step3"       =>"dang-tin-buoc-3",
        "post-property-success"     =>"thanh-cong",
        "edit-posted-property"      =>"sua-tin-da-dang",
        "edit-post-property-step1"  =>"sua-tin-buoc-1",
        "edit-post-property-step2"  =>"sua-tin-buoc-2",
        "edit-post-property-step3"  =>"sua-tin-buoc-3",
        "manage-draft-property"     =>"quan-ly-cac-tin-nhap",
        "manage-posted-property"    =>"quan-ly-cac-tin-da-dang",
        "manage-pending-property"   =>"quan-ly-cac-tin-cho-duyet",
        "manage-favourite-property" =>"quan-ly-cac-tin-yeu-thich",
        "change-password"           =>"thay-doi-mat-khau",
        "view-profile"              =>"thong-tin-tai-khoan",
        "update-profile"            =>"cap-nhat-thong-tin-ca-nhan",
        "inbox"                     =>"tin-ca-nhan",
        "sent"                      =>"tin-ca-nhan-da-gui",
        "send"                      =>"gui-tin-ca-nhan",
        "read"                      =>"doc-tin-ca-nhan",
        "reply"                     =>"tra-loi",
        "forward"                   =>"chuyen-tiep-thu-ca-nhan",
);

//$CONFIG['cat_type'] = array($CONFIG_OPTION["cat"],$CONFIG_OPTION["tags"]);

// site properties
$CONFIG['upload_maxsize']   	= '2097152';
$CONFIG['upload_dir']       	= SITE_BASE_DIR."/uploads";
$CONFIG['rows_per_page_messages'] = 2;
$CONFIG['rows_per_page_faq'] 	= 2;
$CONFIG['rows_per_page_detail_propery'] 	= 4;
$CONFIG['rows_other_faq'] 		= 5;
$CONFIG['rows_per_page_member'] =7;
$CONFIG['num_day_select_member']= 30; // 30 days to now

$CONFIG['thumb_size_news'] 		= Array('100-100','47-47','176-176');
$CONFIG['thumb_size_property'] 	= Array('110-100','91-71','150-120','223-223','257-256','305-255','47-47','298-190','120-90');

//for module news
$CONFIG['rows_per_page_news']	= 3;
$CONFIG['rows_per_page_news_home'] = 5;
$CONFIG['rows_per_page_news_other'] = 10;
$CONFIG['rows_per_page_news_focus'] = 10;
$CONFIG['num_of_tags_on_left_news'] = 10;
$CONFIG['news_home_cat_box_id_left'] = array(1,2,3);
$CONFIG['news_home_cat_box_id_right'] = array(4,5,6);


//for module news
$CONFIG['rows_per_page_news']	= 10;
$CONFIG['rows_per_page_news_home'] = 5;
$CONFIG['rows_per_page_news_other'] = 8;
$CONFIG['rows_per_page_news_focus'] = 10;
$CONFIG['num_of_tags_on_left_news'] = 10;
$CONFIG['rows_per_page_right_front_page'] = 5;

//for module property
$CONFIG['rows_per_page_cat_property']	= 10;
$CONFIG['rows_per_page_manage_property_draft']	= 2;
$CONFIG['property_direction'] = Array('[Chọn...]','[Bắc]','[Đông]','[Đông bắc]','[Đông nam]','[Nam]','[Tây]','[Tây bắc]','[Tây nam]');
$CONFIG['direction'] = Array('[Tất cả]','[Bắc]','[Đông]','[Đông bắc]','[Đông nam]','[Nam]','[Tây]','[Tây bắc]','[Tây nam]');
?>